﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using PR.BusinessEntity.RamanSyrtsou;

namespace PR.WebService.RamanSyrtsou
{
    [ServiceContract]
    public interface IPRWebServiceContractRamanSyrtsou
    {
        [OperationContract]
        List<PRObjectRamanSyrtsou> GetAllPRObjects();

        [OperationContract]
        void DeletePRObject(int id);

        [OperationContract]
        int InsertPRObject(PRObjectRamanSyrtsou obj);

        [OperationContract]
        List<KeyValuePair<int, string>> GetAllSupportedTypes();

        [OperationContract]
        List<KeyValuePair<int, string>> GetAllSupportedCategories();

        [OperationContract]
        PRObjectRamanSyrtsou GetObjectById(int id);

        [OperationContract]
        void UpdatePRObject(PRObjectRamanSyrtsou obj);

        [OperationContract]
        PRObjectDescriptionRamanSyrtsou GetDescriptionById(int id);

        [OperationContract]
        PRObjectDescriptionRamanSyrtsou InsertDescription(PRObjectDescriptionRamanSyrtsou description);

        [OperationContract]
        void UpdateDescription(PRObjectDescriptionRamanSyrtsou description);

        [OperationContract]
        void DeleteDescriptionById(int id);
    }
}
